package com.songlanyun.modules.donation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.donation.entity.DonationEntity;
import com.songlanyun.modules.donation.model.DonationEntityAuditDTO;
import com.songlanyun.modules.donation.model.DonationEntityDTO;

import java.util.Map;

/**
 * 公益捐款
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-21 11:32:51
 */
public interface DonationService extends IBaseService<Long,DonationEntity> {

    @Override
    PageUtils queryPage(Map<String, Object> params);

    void apply(DonationEntityDTO dto);

    DonationEntity loadById(Long id,boolean tw);

    DonationEntity audit(DonationEntityAuditDTO dto);

    void removeMy(Long id,Long userId);
}

